package com.hrp.jiradao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/8/1 0001.
 */
@Mapper
public interface TestDao {
    @Select("SELECT * FROM shensheng WHERE id = #{id}")
    public Map<String, Object> getMyMap1(@Param("id")Integer id);


    @Select(" select top 12 * from JX_KSDMK ")
    public List<Map<String, Object>> getKslist();
}
